//
//  ProgramModel.m
//  __PRODUCTNAME__
//
//  Created by 曹曹 on 16/09/01
//  Copyright (c) __ORGANIZATIONNAME__. All rights reserved.
//

#import "ProgramModel.h"
#import "Record_Plays.h"

@implementation ProgramModel

+ (NSDictionary *)objectClassInArray{
    return @{@"record_plays" : [Record_Plays class]};
}

- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"record_plays"]) {
        _record_plays = [self arrayWithClass:[Record_Plays class] value:value];
    }
}

@end
